package com.hyacinth.lotterysystem.dto.param;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class Winner {
    @NotNull(message = "中奖者id不能为空")
    private Long userId;

    @NotNull(message = "中奖者用户名不能为空")
    private String userName;
}
